﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Animation;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
using MultiCommunication.Models;
using NLog;
using NLog.LayoutRenderers;

namespace MultiCommunication.ViewModels
{
    public partial class TcpViewModel:ObservableObject
    {
        [ObservableProperty]
        public TcpModel tcpViewModelA;
        
        [ObservableProperty]
        public TcpModel tcpViewModelB;

        List<TcpModel> TcpViewModels = new List<TcpModel> 
        {
            new TcpModel(),
            new TcpModel()
        };
        public TcpViewModel()
        {
           TcpViewModelA = TcpViewModels[0];
           TcpViewModelB = TcpViewModels[1];
        }
    }
}
